package com.crm.model.vo.trainingManager;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class TrainingVO {

    private String trainingId;  //内训id

    private String customerId;  //客户id

    private String customerName;  //客户姓名

    private String customerNumber;  //客户编号

    private String customerType;  //客户类型  0企业客户 1个人客户

    private String contactPersonPhone;  //联系人电话

    private String accountId;  //用户id

    private String userName;  //内训负责人

    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date createTm; //创建时间

    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date endTm; //结束时间

    private Integer trainingState; //状态 0已完成 1进行中

    private Integer rebateSetting; //返点设置(百分比)

    private BigDecimal currentRebateAmount;  //目前返点金额

    private Integer currentState;  //当前状态  0需求分析 1方案报价 2洽谈合同 3赢单 4输单

    private Integer membershipLevel; //会员等级

    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date membershipExpirationTm;  //会员到期时间

    private String accessUrl; //直接访问链接

    private String uploadId;  //附件ID

}
